Report generated on 16-Nov-2021 at 14:59:27 by pytest-html v3.1.1
| Base URL | |
| Capabilities | {} |
| Driver | None |
| 测试地址 | https://www.imymac.com/index.html |
| 测试项目 | 测试IMAC官网 |
所属部门:测试小组
测试执行人:李健
529 tests ran in 892.16 seconds.
(Un)check the boxes to filter the results.
492 passed, 7 skipped, 37 failed, 0 errors, 0 expected failures, 0 unexpected passes, 37 rerun| Result | 用例名称 | Test | Duration | Links |
|---|---|---|---|---|
| No results found. Try to check the filters | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_021[-æ¨éè¦è¾å ¥ä¸ä¸ªææé®ç®±ã] | 9.31 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18BE2C10> email_data = '', error_text = '您需要输入一个有效邮箱。' @pytest.mark.parametrize('email_data, error_text', getExcelAllData('邮箱错误', 'Store/store.xlsx')) @allure.title('video购买页面填写错误格式邮箱测试') def test_021(self, email_data, error_text): """video购买页面填写错误格式邮箱功能测试""" allure.dynamic.tag('邮箱为==》{}'.format(email_data)) self.driver.video_buy_first_step() self.driver.send_email('') self.driver.confirm_email() self.driver.send_email(email_data) self.driver.confirm_email() > assert self.driver.return_email_error_text() == error_text E AssertionError: assert 'You need to ...mail address.' == '您需要输入一个有效邮箱。' E - 您需要输入一个有效邮箱。 E + You need to enter a valid email address. TestCase\store_test_case\test_store.py:219: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:50:57,765 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:50:57,812 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:50:58,824 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:51:06,778 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:51:07,854 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:07,949 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:08,988 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:09,035 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:10,067 [basepage.py:96] 获取到文本:You need to enter a valid email address. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:96 获取到文本:You need to enter a valid email address. -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:51:16,173 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:51:16,223 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:51:17,224 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:51:21,439 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:51:22,508 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:22,587 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:23,638 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:23,689 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:24,709 [basepage.py:96] 获取到文本:You need to enter a valid email address. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:96 获取到文本:You need to enter a valid email address. | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_021[m111-æ¨è¾å ¥çé®ç®±æ æã] | 10.17 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CED9D0> email_data = 'm111', error_text = '您输入的邮箱无效。' @pytest.mark.parametrize('email_data, error_text', getExcelAllData('邮箱错误', 'Store/store.xlsx')) @allure.title('video购买页面填写错误格式邮箱测试') def test_021(self, email_data, error_text): """video购买页面填写错误格式邮箱功能测试""" allure.dynamic.tag('邮箱为==》{}'.format(email_data)) self.driver.video_buy_first_step() self.driver.send_email('') self.driver.confirm_email() self.driver.send_email(email_data) self.driver.confirm_email() > assert self.driver.return_email_error_text() == error_text E AssertionError: assert 'The email ad...is not valid.' == '您输入的邮箱无效。' E - 您输入的邮箱无效。 E + The email address you entered is not valid. TestCase\store_test_case\test_store.py:219: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:51:25,318 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:51:25,375 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:51:26,379 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:51:31,640 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:51:32,706 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:32,777 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:33,858 [basepage.py:82] 输入文本:m111 INFO 2021-11-16 14:51:33,924 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:34,952 [basepage.py:96] 获取到文本:The email address you entered is not valid. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:82 输入文本:m111 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:96 获取到文本:The email address you entered is not valid. -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:51:40,689 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:51:40,732 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:51:41,746 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:51:47,155 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:51:48,215 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:48,289 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:49,354 [basepage.py:82] 输入文本:m111 INFO 2021-11-16 14:51:49,398 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:50,432 [basepage.py:96] 获取到文本:The email address you entered is not valid. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:82 输入文本:m111 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:96 获取到文本:The email address you entered is not valid. | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_028[1111-æ¨éè¦è¾å ¥ä¸ä¸ªææä¼æ ç ã] | 9.29 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC49EF310> code = '1111', error_text = '您需要输入一个有效优惠码。' @pytest.mark.parametrize('code, error_text', getExcelByRow('优惠码错误', 1, 2, 'Store/store.xlsx')) @allure.title('video购买页面填写错误优惠码测试') def test_028(self, code, error_text): """video购买页面填写错误优惠码功能测试""" allure.dynamic.tag('优惠码==》{}'.format(code)) self.driver.video_buy_addCoupon_step(code) > assert self.driver.return_code_error_text() == error_text E AssertionError: assert 'You need to ... coupon code.' == '您需要输入一个有效优惠码。' E - 您需要输入一个有效优惠码。 E + You need to enter a valid coupon code. TestCase\store_test_case\test_store.py:281: AssertionError[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:52:22,499 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:52:22,546 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:52:23,555 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:52:24,844 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:52:25,933 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:52:26,024 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:52:27,036 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:52:27,157 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:52:28,285 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO 2021-11-16 14:52:29,372 [basepage.py:82] 输入文本:1111 INFO 2021-11-16 14:52:29,438 [basepage.py:90] 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO 2021-11-16 14:52:30,459 [basepage.py:96] 获取到文本:You need to enter a valid coupon code. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO root:basepage.py:82 输入文本:1111 INFO root:basepage.py:90 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:You need to enter a valid coupon code. -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:52:36,547 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:52:36,603 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:52:37,604 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:52:39,313 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:52:40,412 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:52:40,485 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:52:41,486 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:52:41,742 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:52:42,808 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO 2021-11-16 14:52:43,868 [basepage.py:82] 输入文本:1111 INFO 2021-11-16 14:52:43,937 [basepage.py:90] 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO 2021-11-16 14:52:45,401 [basepage.py:96] 获取到文本:You need to enter a valid coupon code. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO root:basepage.py:82 输入文本:1111 INFO root:basepage.py:90 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:You need to enter a valid coupon code. | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_028[youhuima2021-æ¬ä¼æ å¸å·²è¢«ä½¿ç¨å¤ªå¤æ¬¡ã] | 9.22 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4A6BEB0> code = 'youhuima2021', error_text = '本优惠券已被使用太多次。' @pytest.mark.parametrize('code, error_text', getExcelByRow('优惠码错误', 1, 2, 'Store/store.xlsx')) @allure.title('video购买页面填写错误优惠码测试') def test_028(self, code, error_text): """video购买页面填写错误优惠码功能测试""" allure.dynamic.tag('优惠码==》{}'.format(code)) self.driver.video_buy_addCoupon_step(code) > assert self.driver.return_code_error_text() == error_text E AssertionError: assert 'This coupon ...o many times.' == '本优惠券已被使用太多次。' E - 本优惠券已被使用太多次。 E + This coupon has been used too many times. TestCase\store_test_case\test_store.py:281: AssertionError[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:52:46,010 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:52:46,053 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:52:47,055 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:52:48,908 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:52:49,997 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:52:50,067 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:52:51,068 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:52:51,182 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:52:52,272 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO 2021-11-16 14:52:53,358 [basepage.py:82] 输入文本:youhuima2021 INFO 2021-11-16 14:52:53,417 [basepage.py:90] 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO 2021-11-16 14:52:54,444 [basepage.py:96] 获取到文本:This coupon has been used too many times. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO root:basepage.py:82 输入文本:youhuima2021 INFO root:basepage.py:90 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This coupon has been used too many times. -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:00,061 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:00,106 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:01,111 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:03,322 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:04,426 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:04,501 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:05,518 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:05,642 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:06,704 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO 2021-11-16 14:53:07,781 [basepage.py:82] 输入文本:youhuima2021 INFO 2021-11-16 14:53:07,839 [basepage.py:90] 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:08,865 [basepage.py:96] 获取到文本:This coupon has been used too many times. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO root:basepage.py:82 输入文本:youhuima2021 INFO root:basepage.py:90 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This coupon has been used too many times. | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_029[-伿 ç ä¸è½ä¸ºç©ºã] | 4.37 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4A6BD30> code = '', error_text = '优惠码不能为空。' @pytest.mark.parametrize('code, error_text', getExcelByRow('优惠码错误', 3, 1, 'Store/store.xlsx')) @allure.title('video购买页面填写空优惠码测试') def test_029(self, code, error_text): """video购买页面填写空优惠码功能测试""" allure.dynamic.tag('优惠码==》{}'.format(code)) > self.driver.video_buy_addCoupon_step(code) TestCase\store_test_case\test_store.py:288: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ page_object\store\store_page.py:71: in video_buy_addCoupon_step self.video_buy_three_step() page_object\store\store_page.py:65: in video_buy_three_step self.video_buy_two_step() page_object\store\store_page.py:59: in video_buy_two_step self.video_buy_first_step() page_object\store\store_page.py:55: in video_buy_first_step self.jsInDriver('document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none";') page\basepage.py:155: in jsInDriver self.driver.execute_script(js) c:\users\123\appdata\local\programs\python\python39\lib\site-packages\selenium\webdriver\remote\webdriver.py:634: in execute_script return self.execute(command, { c:\users\123\appdata\local\programs\python\python39\lib\site-packages\selenium\webdriver\remote\webdriver.py:321: in execute self.error_handler.check_response(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x0000029CC4840E20> response = {'status': 500, 'value': '{"value":{"error":"javascript error","message":"javascript error: Cannot read properties of ...\n\\tRtlGetAppContainerNamedObjectPath [0x76F77A9E+286]\\n\\tRtlGetAppContainerNamedObjectPath [0x76F77A6E+238]\\n"}}'} def check_response(self, response): """ Checks that a JSON response from the WebDriver does not have an error. :Args: - response - The JSON response from the WebDriver server as a dictionary object. :Raises: If the response contains an error message. """ status = response.get('status', None) if status is None or status == ErrorCode.SUCCESS: return value = None message = response.get("message", "") screen = response.get("screen", "") stacktrace = None if isinstance(status, int): value_json = response.get('value', None) if value_json and isinstance(value_json, basestring): import json try: value = json.loads(value_json) if len(value.keys()) == 1: value = value['value'] status = value.get('error', None) if status is None: status = value["status"] message = value["value"] if not isinstance(message, basestring): value = message message = message.get('message') else: message = value.get('message', None) except ValueError: pass exception_class = ErrorInResponseException if status in ErrorCode.NO_SUCH_ELEMENT: exception_class = NoSuchElementException elif status in ErrorCode.NO_SUCH_FRAME: exception_class = NoSuchFrameException elif status in ErrorCode.NO_SUCH_WINDOW: exception_class = NoSuchWindowException elif status in ErrorCode.STALE_ELEMENT_REFERENCE: exception_class = StaleElementReferenceException elif status in ErrorCode.ELEMENT_NOT_VISIBLE: exception_class = ElementNotVisibleException elif status in ErrorCode.INVALID_ELEMENT_STATE: exception_class = InvalidElementStateException elif status in ErrorCode.INVALID_SELECTOR \ or status in ErrorCode.INVALID_XPATH_SELECTOR \ or status in ErrorCode.INVALID_XPATH_SELECTOR_RETURN_TYPER: exception_class = InvalidSelectorException elif status in ErrorCode.ELEMENT_IS_NOT_SELECTABLE: exception_class = ElementNotSelectableException elif status in ErrorCode.ELEMENT_NOT_INTERACTABLE: exception_class = ElementNotInteractableException elif status in ErrorCode.INVALID_COOKIE_DOMAIN: exception_class = InvalidCookieDomainException elif status in ErrorCode.UNABLE_TO_SET_COOKIE: exception_class = UnableToSetCookieException elif status in ErrorCode.TIMEOUT: exception_class = TimeoutException elif status in ErrorCode.SCRIPT_TIMEOUT: exception_class = TimeoutException elif status in ErrorCode.UNKNOWN_ERROR: exception_class = WebDriverException elif status in ErrorCode.UNEXPECTED_ALERT_OPEN: exception_class = UnexpectedAlertPresentException elif status in ErrorCode.NO_ALERT_OPEN: exception_class = NoAlertPresentException elif status in ErrorCode.IME_NOT_AVAILABLE: exception_class = ImeNotAvailableException elif status in ErrorCode.IME_ENGINE_ACTIVATION_FAILED: exception_class = ImeActivationFailedException elif status in ErrorCode.MOVE_TARGET_OUT_OF_BOUNDS: exception_class = MoveTargetOutOfBoundsException elif status in ErrorCode.JAVASCRIPT_ERROR: exception_class = JavascriptException elif status in ErrorCode.SESSION_NOT_CREATED: exception_class = SessionNotCreatedException elif status in ErrorCode.INVALID_ARGUMENT: exception_class = InvalidArgumentException elif status in ErrorCode.NO_SUCH_COOKIE: exception_class = NoSuchCookieException elif status in ErrorCode.UNABLE_TO_CAPTURE_SCREEN: exception_class = ScreenshotException elif status in ErrorCode.ELEMENT_CLICK_INTERCEPTED: exception_class = ElementClickInterceptedException elif status in ErrorCode.INSECURE_CERTIFICATE: exception_class = InsecureCertificateException elif status in ErrorCode.INVALID_COORDINATES: exception_class = InvalidCoordinatesException elif status in ErrorCode.INVALID_SESSION_ID: exception_class = InvalidSessionIdException elif status in ErrorCode.UNKNOWN_METHOD: exception_class = UnknownMethodException else: exception_class = WebDriverException if value == '' or value is None: value = response['value'] if isinstance(value, basestring): if exception_class == ErrorInResponseException: raise exception_class(response, value) raise exception_class(value) if message == "" and 'message' in value: message = value['message'] screen = None if 'screen' in value: screen = value['screen'] stacktrace = None if 'stackTrace' in value and value['stackTrace']: stacktrace = [] try: for frame in value['stackTrace']: line = self._value_or_default(frame, 'lineNumber', '') file = self._value_or_default(frame, 'fileName', '<anonymous>') if line: file = "%s:%s" % (file, line) meth = self._value_or_default(frame, 'methodName', '<anonymous>') if 'className' in frame: meth = "%s.%s" % (frame['className'], meth) msg = " at %s (%s)" msg = msg % (meth, file) stacktrace.append(msg) except TypeError: pass if exception_class == ErrorInResponseException: raise exception_class(response, message) elif exception_class == UnexpectedAlertPresentException: alert_text = None if 'data' in value: alert_text = value['data'].get('text') elif 'alert' in value: alert_text = value['alert'].get('text') raise exception_class(message, screen, stacktrace, alert_text) > raise exception_class(message, screen, stacktrace) E selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot read properties of null (reading 'style') E (Session info: headless chrome=95.0.4638.69) c:\users\123\appdata\local\programs\python\python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py:242: JavascriptException[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:09,464 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:09,511 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:10,525 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:12,021 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:13,113 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:13,195 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:14,201 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:14,318 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:15,380 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO 2021-11-16 14:53:16,431 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:16,487 [basepage.py:90] 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:17,513 [basepage.py:96] 获取到文本:The coupon code cannot be blank. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:The coupon code cannot be blank. -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:23,106 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:23,149 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:24,158 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:26,026 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[12345-lin-2-2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 16.44 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CB1070> number = '12345', name = 'lin', month = '2', year = '2022', pwd = '568' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The credit card you entered is not valid.'] E + where ['The credit card you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CB1D00>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CB1D00>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CB1D00>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CB1D00> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CB1070>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:03,194 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:03,234 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:04,237 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:09,451 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:10,553 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:10,626 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:11,629 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:11,764 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:12,826 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:15,923 [basepage.py:82] 输入文本:12345 INFO 2021-11-16 14:53:16,004 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:53:16,067 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:53:16,136 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:53:16,200 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:53:16,267 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:18,292 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12345 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:23,901 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:23,945 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:24,947 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:30,808 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:31,906 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:31,979 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:32,988 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:33,105 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:34,399 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:37,524 [basepage.py:82] 输入文本:12345 INFO 2021-11-16 14:53:37,611 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:53:37,683 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:53:37,758 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:53:37,838 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:53:37,908 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:39,938 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12345 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥çåç§°æ æã] | 13.87 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39135A90> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39186790>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39186790>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39186790>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39186790> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39135A90>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:16,317 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:16,365 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:17,380 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:19,352 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:20,447 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:20,521 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:21,521 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:21,640 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:22,700 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:25,772 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:25,826 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:25,878 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:25,930 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:25,991 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:26,091 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:28,167 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:35,001 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:35,044 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:36,048 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:38,190 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:39,299 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:39,377 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:40,385 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:40,769 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:42,257 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:45,339 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:45,394 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:45,448 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:45,501 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:45,558 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:45,635 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:47,712 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[12346--2-2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 15.19 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C87AC0> number = '12346', name = '', month = '2', year = '2022', pwd = '568' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C874C0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C874C0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C874C0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C874C0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C87AC0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:40,863 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:40,912 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:41,918 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:46,963 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:48,075 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:48,146 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:49,157 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:49,838 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:50,905 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:54,004 [basepage.py:82] 输入文本:12346 INFO 2021-11-16 14:53:54,062 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:54,121 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:53:54,182 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:53:54,244 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:53:54,306 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:56,339 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12346 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:01,936 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:01,978 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:02,994 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:07,510 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:08,618 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:08,696 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:09,696 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:09,843 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:10,901 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:13,998 [basepage.py:82] 输入文本:12346 INFO 2021-11-16 14:54:14,053 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:14,122 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:54:14,190 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:14,259 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:14,333 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:16,368 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12346 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[:62122 62502 00918 2455-lin-24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 12.18 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39154AF0> number = ':62122 62502 00918 2455', name = 'lin', month = '24', year = '2022' pwd = '568', error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The expiry month you entered is not valid.'] E + where ['The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39154F70>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39154F70>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39154F70>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39154F70> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39154AF0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:48,301 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:48,358 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:49,361 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:51,556 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:52,659 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:52,742 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:53,753 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:53,873 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:54,923 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:58,086 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:53:58,146 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:53:58,217 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:53:58,283 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:53:58,344 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:53:58,412 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:00,448 [basepage.py:211] 获取到text==》['The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The expiry month you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:06,059 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:06,103 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:07,105 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:08,781 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:09,888 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:09,966 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:10,977 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:11,109 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:12,172 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:15,350 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:54:15,416 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:54:15,489 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:54:15,587 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:15,687 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:15,768 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:17,806 [basepage.py:211] 获取到text==》['The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The expiry month you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[--12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 14.60 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F4C6A0> number = '', name = '', month = '12', year = '1000', pwd = '568' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F47FD0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F47FD0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F47FD0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F47FD0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F4C6A0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:51,318 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:51,359 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:52,365 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:58,105 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:59,216 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:59,300 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:00,303 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:00,420 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:01,479 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:04,555 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:04,610 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:04,671 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:54:04,742 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:54:04,808 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:04,881 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:06,943 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:13,066 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:13,109 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:14,115 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:18,330 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:19,443 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:19,525 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:20,528 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:20,671 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:21,731 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:24,816 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:24,873 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:24,944 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:54:25,025 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:54:25,102 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:25,173 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:27,227 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[----56-æ¨è¾å ¥ç CVV æ æã] | 12.36 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4A8D250> number = '', name = '', month = '', year = '', pwd = '56' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A8D880>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A8D880>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A8D880>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A8D880> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4A8D250>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:55,210 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:55,250 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:56,253 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:58,164 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:59,277 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:59,350 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:00,365 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:01,052 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:02,113 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:05,180 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:05,234 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:05,286 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:05,339 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:05,398 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:54:05,469 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:07,550 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:13,172 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:13,216 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:14,225 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:16,194 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:17,294 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:17,369 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:18,378 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:18,503 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:19,568 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:22,677 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:22,743 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:22,803 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:22,860 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:22,935 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:54:23,036 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:25,121 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-lin-24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 12.89 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39154D30> number = '', name = 'lin', month = '24', year = '2022', pwd = '568' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] E + where ['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF392090D0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF392090D0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF392090D0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF392090D0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39154D30>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:18,607 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:18,652 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:19,655 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:21,868 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:23,016 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:23,099 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:24,104 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:24,253 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:25,312 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:28,388 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:28,467 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:54:28,550 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:54:28,622 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:28,687 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:28,755 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:30,782 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:36,405 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:36,451 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:37,456 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:39,801 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:40,894 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:40,979 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:41,983 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:42,117 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:43,178 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:46,244 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:46,309 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:54:46,371 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:54:46,443 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:46,514 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:46,583 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:48,643 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[12347---2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 14.17 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18BDF460> number = '12347', name = '', month = '', year = '2022', pwd = '568' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BDFAF0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BDFAF0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BDFAF0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BDFAF0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18BDF460>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:17,111 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:17,173 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:18,178 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:22,463 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:23,556 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:23,630 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:24,632 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:24,795 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:25,863 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:28,965 [basepage.py:82] 输入文本:12347 INFO 2021-11-16 14:54:29,042 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:29,110 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:29,187 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:29,273 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:29,364 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:31,406 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12347 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:37,012 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:37,055 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:38,070 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:41,804 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:42,915 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:42,997 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:44,008 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:44,144 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:45,200 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:48,291 [basepage.py:82] 输入文本:12347 INFO 2021-11-16 14:54:48,352 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:48,415 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:48,501 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:48,577 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:48,668 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:50,734 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12347 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥ç CVV æ æã] | 13.23 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4A9A460> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A9A730>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A9A730>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A9A730>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A9A730> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4A9A460>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:25,724 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:25,773 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:26,782 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:28,797 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:29,906 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:29,987 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:30,990 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:31,121 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:32,210 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:35,279 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,341 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,395 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,446 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,506 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,583 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:37,647 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:43,247 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:43,291 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:44,308 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:46,225 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:47,330 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:47,419 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:48,435 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:49,507 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:50,575 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:53,643 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:53,696 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:53,752 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:53,806 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:53,861 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:53,988 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:56,058 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[---1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 16.50 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FF4C70> number = '', name = '', month = '', year = '1000', pwd = '568' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FF4E50>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FF4E50>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FF4E50>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FF4E50> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FF4C70>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:27,830 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:27,902 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:28,918 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:33,007 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:34,097 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:34,180 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:35,196 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:35,319 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:36,433 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:39,510 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:39,582 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:39,654 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:39,730 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:54:39,814 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:39,889 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:41,950 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:47,889 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:47,962 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:48,965 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:54,664 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:55,775 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:55,851 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:56,853 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:57,097 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:58,158 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:01,226 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:01,284 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:01,342 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:01,413 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:55:01,479 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:01,555 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:03,621 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[--24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 13.71 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3922BCD0> number = '', name = '', month = '24', year = '2022', pwd = '568' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3922B850>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3922B850>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3922B850>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3922B850> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3922BCD0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:49,289 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:49,333 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:50,335 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:51,804 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:52,909 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:52,992 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:53,994 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:54,127 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:55,195 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:58,277 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:58,354 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:58,430 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:54:58,518 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:58,585 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:58,651 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:00,706 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:06,539 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:06,586 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:07,598 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:09,493 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:10,630 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:10,721 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:11,725 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:11,861 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:14,098 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:17,165 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:17,223 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:17,303 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:55:17,382 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:55:17,452 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:17,548 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:19,595 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[12348----569-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 13.96 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C5ED30> number = '12348', name = '', month = '', year = '', pwd = '569' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C5EE50>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C5EE50>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C5EE50>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C5EE50> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C5ED30>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:51,367 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:51,414 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:52,423 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:55,640 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:56,742 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:56,818 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:57,821 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:57,945 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:59,230 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:02,323 [basepage.py:82] 输入文本:12348 INFO 2021-11-16 14:55:02,379 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:02,435 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:02,487 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:02,549 [basepage.py:82] 输入文本:569 INFO 2021-11-16 14:55:02,620 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:04,690 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12348 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:569 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:10,315 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:10,378 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:11,381 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:14,943 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:16,043 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:16,115 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:17,130 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:17,284 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:18,357 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:21,453 [basepage.py:82] 输入文本:12348 INFO 2021-11-16 14:55:21,509 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:21,567 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:21,627 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:21,686 [basepage.py:82] 输入文本:569 INFO 2021-11-16 14:55:21,764 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:23,839 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12348 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:569 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_034[62122 62502 00918 2455-lin-2-2022-568-æ¬æ¬¡ä»æ¬¾è¢«æ¨çé¶è¡æç»ã请éè¯ï¼æä½¿ç¨å¦å¤çæ¯ä»æ¹å¼ãèç³»æ¨çé¶è¡ä»¥è·åè¿ä¸æ¥çä¿¡æ¯ã] | 12.39 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC48DC400> number = '62122 62502 00918 2455', name = 'lin', month = '2', year = '2022' pwd = '568', error_text = '本次付款被您的银行拒绝。请重试,或使用另外的支付方式。联系您的银行以获取进一步的信息。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付银行异常', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息银行拒绝测试') def test_034(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息银行拒绝功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_BANK_error_text() E AssertionError: assert '本次付款被您的银行拒绝。请重试,或使用另外的支付方式。联系您的银行以获取进一步的信息。' in 'This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information.' E + where 'This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information.' = <bound method StorePage.return_card_pay_BANK_error_text of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC491F820>>() E + where <bound method StorePage.return_card_pay_BANK_error_text of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC491F820>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC491F820>.return_card_pay_BANK_error_text E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC491F820> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC48DC400>.driver TestCase\store_test_case\test_store.py:345: AssertionError[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:56,634 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:56,678 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:57,681 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:59,722 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:00,825 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:00,903 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:01,908 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:02,025 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:03,109 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:06,264 [basepage.py:82] 输入文本:62122 62502 00918 2455 INFO 2021-11-16 14:55:06,331 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:55:06,390 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:55:06,456 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:55:06,534 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:06,611 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:08,654 [basepage.py:96] 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:14,311 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:14,357 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:15,365 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:17,278 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:18,406 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:18,482 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:19,496 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:19,620 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:20,753 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:23,913 [basepage.py:82] 输入文本:62122 62502 00918 2455 INFO 2021-11-16 14:55:23,984 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:55:24,042 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:55:24,112 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:55:24,177 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:24,251 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:26,281 [basepage.py:96] 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[---1000--æ¨è¾å ¥çæéå¹´ä»½æ æã] | 13.13 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A9008400> number = '', name = '', month = '', year = '1000', pwd = '' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9008FD0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9008FD0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9008FD0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9008FD0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A9008400>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:04,216 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:04,256 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:05,260 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:08,413 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:09,565 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:09,657 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:10,663 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:10,848 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:12,581 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:15,652 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:15,707 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:15,759 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:15,830 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:55:15,891 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:15,960 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:18,033 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:23,663 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:23,707 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:24,713 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:27,459 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:28,561 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:28,636 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:29,645 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:29,788 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:30,929 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:33,986 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:34,039 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:34,093 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:34,161 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:55:34,226 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:34,291 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:36,372 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[--24--568-æ¨è¾å ¥çæéæä»½æ æã] | 13.30 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39209190> number = '', name = '', month = '24', year = '', pwd = '568' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39209760>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39209760>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39209760>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39209760> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39209190>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:20,174 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:20,217 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:21,220 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:24,361 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:25,450 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:25,523 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:26,525 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:26,666 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:27,722 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:30,785 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:30,849 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:30,948 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:55:31,026 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:31,122 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:31,203 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:33,275 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:39,224 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:39,267 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:40,268 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:42,569 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:43,666 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:43,737 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:44,749 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:45,279 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:46,343 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:49,405 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:49,460 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:49,522 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:55:49,576 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:49,642 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:49,708 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:51,767 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[12349-----æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 14.51 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CD79D0> number = '12349', name = '', month = '', year = '', pwd = '' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD78E0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD78E0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD78E0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD78E0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CD79D0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:24,769 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:24,812 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:25,813 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:28,244 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:29,364 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:29,470 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:30,483 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:31,077 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:32,161 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:35,255 [basepage.py:82] 输入文本:12349 INFO 2021-11-16 14:55:35,324 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:35,383 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:35,439 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:35,498 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:35,567 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:37,643 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12349 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:43,239 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:43,278 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:44,286 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:48,090 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:49,194 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:49,269 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:50,274 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:50,397 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:51,524 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:54,615 [basepage.py:82] 输入文本:12349 INFO 2021-11-16 14:55:54,688 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:54,745 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:54,802 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:54,856 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:54,928 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:57,002 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12349 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_034[62284 80088 14184 8874-lin-2-2022-568-æ¬æ¬¡ä»æ¬¾è¢«æ¨çé¶è¡æç»ã请éè¯ï¼æä½¿ç¨å¦å¤çæ¯ä»æ¹å¼ãèç³»æ¨çé¶è¡ä»¥è·åè¿ä¸æ¥çä¿¡æ¯ã] | 15.50 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC48F1C10> number = '62284 80088 14184 8874', name = 'lin', month = '2', year = '2022' pwd = '568', error_text = '本次付款被您的银行拒绝。请重试,或使用另外的支付方式。联系您的银行以获取进一步的信息。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付银行异常', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息银行拒绝测试') def test_034(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息银行拒绝功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_BANK_error_text() E AssertionError: assert '本次付款被您的银行拒绝。请重试,或使用另外的支付方式。联系您的银行以获取进一步的信息。' in 'This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information.' E + where 'This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information.' = <bound method StorePage.return_card_pay_BANK_error_text of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A7F130>>() E + where <bound method StorePage.return_card_pay_BANK_error_text of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A7F130>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A7F130>.return_card_pay_BANK_error_text E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4A7F130> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC48F1C10>.driver TestCase\store_test_case\test_store.py:345: AssertionError[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:27,231 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:27,280 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:28,292 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:29,781 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:30,921 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:31,038 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:32,043 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:32,207 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:33,268 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:36,433 [basepage.py:82] 输入文本:62284 80088 14184 8874 INFO 2021-11-16 14:55:36,499 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:55:36,560 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:55:36,649 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:55:36,715 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:36,792 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:42,250 [basepage.py:96] 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:62284 80088 14184 8874 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:47,858 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:47,902 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:48,913 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:50,927 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:52,029 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:52,108 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:53,112 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:53,251 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:54,688 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:57,855 [basepage.py:82] 输入文本:62284 80088 14184 8874 INFO 2021-11-16 14:55:57,920 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:55:57,978 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:55:58,042 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:55:58,103 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:58,166 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:02,625 [basepage.py:96] 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:62284 80088 14184 8874 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥çæéå¹´ä»½æ æã] | 15.07 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F288B0> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F75F10>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F75F10>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F75F10>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F75F10> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F288B0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:37,004 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:37,053 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:38,064 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:43,642 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:44,769 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:44,906 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:45,907 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:46,046 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:47,409 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:50,480 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,534 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,589 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,641 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,709 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,793 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:52,864 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:58,492 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:58,541 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:59,542 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:04,274 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:05,379 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:05,453 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:06,458 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:06,593 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:07,701 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:10,769 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:10,819 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:10,873 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:10,926 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:10,980 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:11,054 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:13,131 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[--24---æ¨è¾å ¥çæéæä»½æ æã] | 14.10 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3915FBE0> number = '', name = '', month = '24', year = '', pwd = '' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919BD30>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919BD30>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919BD30>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919BD30> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3915FBE0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:52,372 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:52,420 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:53,422 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:55,387 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:56,483 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:56,558 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:57,563 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:57,778 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:58,838 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:01,924 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:01,995 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:02,073 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:56:02,130 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:02,185 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:02,270 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:04,334 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:09,914 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:09,958 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:10,966 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:14,660 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:15,755 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:15,826 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:16,829 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:17,006 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:18,147 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:21,224 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:21,280 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:21,347 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:56:21,400 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:21,453 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:21,532 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:23,600 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 20.29 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A1824B640> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD7AF0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD7AF0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD7AF0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD7AF0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A1824B640>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:57,602 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:57,667 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:58,671 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:03,034 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:04,136 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:04,220 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:05,231 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:05,353 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:06,419 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:09,486 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,546 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,599 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,655 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,705 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,788 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:11,858 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:17,517 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:17,566 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:18,579 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:28,541 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:29,647 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:29,731 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:30,743 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:30,887 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:31,939 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:35,012 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,064 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,119 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,192 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,246 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,323 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:37,386 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[:62122 62502 00918 2455-lin-2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 17.82 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FF4760> number = ':62122 62502 00918 2455', name = 'lin', month = '2', year = '2022' pwd = '56', error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The CVV you entered is not valid.'] E + where ['The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FF4E80>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FF4E80>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FF4E80>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FF4E80> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FF4760>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:14,057 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:14,100 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:15,112 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:22,069 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:23,180 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:23,253 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:24,267 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:24,400 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:25,520 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:28,677 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:56:28,739 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:56:28,795 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:56:28,864 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:56:28,932 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:56:29,006 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:31,031 [basepage.py:211] 获取到text==》['The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:36,627 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:36,668 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:37,678 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:43,942 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:45,051 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:45,134 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:46,148 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:46,400 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:48,176 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:51,339 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:56:51,404 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:56:51,459 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:56:51,524 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:56:51,581 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:56:51,641 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:53,698 [basepage.py:211] 获取到text==》['The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥çæéæä»½æ æã] | 13.10 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3929B6A0> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3929B340>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3929B340>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3929B340>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3929B340> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3929B6A0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:24,193 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:24,250 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:25,257 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:28,645 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:29,745 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:29,828 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:30,843 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:30,969 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:32,027 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:35,106 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,167 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,224 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,275 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,330 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,413 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:37,487 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:43,090 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:43,132 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:44,137 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:46,936 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:48,029 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:48,107 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:49,120 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:49,265 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:50,332 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:53,393 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:53,445 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:53,501 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:53,558 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:53,615 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:53,698 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:55,766 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[:62122 62502 00918 2455-æ-2-2022-568-æ¨è¾å ¥çåç§°æ æã] | 14.60 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C82B50> number = ':62122 62502 00918 2455', name = '李', month = '2', year = '2022' pwd = '568', error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.'] E + where ['The name you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C82E50>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C82E50>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C82E50>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C82E50> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C82B50>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:37,981 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:38,026 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:39,034 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:43,181 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:44,286 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:44,365 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:45,379 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:45,503 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:46,936 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:50,079 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:56:50,135 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:56:50,189 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:56:50,261 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:56:50,318 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:56:50,375 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:52,405 [basepage.py:211] 获取到text==》['The name you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:57,979 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:58,031 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:59,040 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:02,285 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:03,393 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:03,465 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:04,470 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:05,256 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:06,558 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:09,715 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:57:09,780 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:57:09,861 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:09,951 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:10,041 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:10,109 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:12,158 [basepage.py:211] 获取到text==》['The name you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[:62122 62502 00918 2455-lin-12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 13.52 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF391942E0> number = ':62122 62502 00918 2455', name = 'lin', month = '12', year = '1000' pwd = '568', error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The expiry year you entered is not valid.'] E + where ['The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39194A90>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39194A90>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39194A90>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39194A90> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF391942E0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:56,379 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:56,419 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:57,435 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:58,975 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:00,078 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:00,154 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:01,165 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:01,305 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:02,427 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:05,593 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:57:05,656 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:05,723 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:57:05,795 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:57:05,857 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:05,918 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:07,954 [basepage.py:211] 获取到text==》['The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The expiry year you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:13,566 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:13,613 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:14,615 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:16,781 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:17,896 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:17,986 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:18,989 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:19,144 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:20,761 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:24,002 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:57:24,231 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:24,334 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:57:24,438 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:57:24,536 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:24,617 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:26,664 [basepage.py:211] 获取到text==》['The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The expiry year you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-lin-2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 14.12 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A90A9EB0> number = '', name = 'lin', month = '2', year = '2022', pwd = '56' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A90A9460>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A90A9460>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A90A9460>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A90A9460> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A90A9EB0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:54,287 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:54,335 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:55,336 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:00,757 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:01,853 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:01,938 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:02,940 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:03,064 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:04,188 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:07,267 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:07,327 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:07,382 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:07,446 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:07,513 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:57:07,578 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:09,625 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:15,321 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:15,367 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:16,372 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:20,128 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:21,228 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:21,300 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:22,305 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:22,436 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:23,554 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:26,620 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:26,683 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:26,744 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:26,817 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:26,883 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:57:26,951 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:29,012 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-æ-2-2022-568-æ¨è¾å ¥çåç§°æ æã] | 12.78 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CACD90> number = '', name = '李', month = '2', year = '2022', pwd = '568' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CAC2E0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CAC2E0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CAC2E0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CAC2E0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CACD90>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:12,788 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:12,838 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:13,852 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:16,326 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:17,442 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:17,529 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:18,536 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:18,652 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:19,896 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:22,965 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:23,063 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:57:23,128 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:23,217 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:23,284 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:23,363 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:25,403 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:31,011 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:31,061 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:32,066 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:34,507 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:35,627 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:35,718 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:36,733 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:36,874 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:37,941 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:41,003 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:41,058 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:57:41,112 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:41,192 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:41,257 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:41,325 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:43,369 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-lin-12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 12.22 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3923C820> number = '', name = 'lin', month = '12', year = '1000', pwd = '568' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3923CFA0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3923CFA0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3923CFA0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3923CFA0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3923C820>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:27,262 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:27,303 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:28,307 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:30,548 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:31,656 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:31,729 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:32,734 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:32,850 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:33,927 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:37,007 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:37,077 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:37,140 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:57:37,215 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:57:37,280 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:37,341 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:39,381 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:45,016 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:45,068 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:46,078 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:47,675 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:48,777 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:48,868 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:49,880 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:50,049 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:51,219 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:54,307 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:54,407 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:54,484 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:57:54,580 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:57:54,664 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:54,762 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:56,807 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[--2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 14.61 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A90449A0> number = '', name = '', month = '2', year = '2022', pwd = '56' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9044190>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9044190>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9044190>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9044190> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A90449A0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:29,619 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:29,668 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:30,672 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:34,690 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:35,803 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:35,891 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:36,906 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:37,037 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:39,226 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:42,294 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:42,351 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:42,423 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:42,497 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:42,557 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:57:42,639 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:44,698 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:50,349 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:50,400 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:51,402 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:55,400 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:56,511 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:56,594 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:57,604 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:57,791 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:58,855 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:01,952 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:02,026 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:02,129 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:58:02,261 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:58:02,358 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:58:02,457 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:04,526 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-æ--2022-568-æ¨è¾å ¥çåç§°æ æã] | 12.83 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18A2AD00> number = '', name = '李', month = '', year = '2022', pwd = '568' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18AD72E0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18AD72E0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18AD72E0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18AD72E0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18A2AD00>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:43,933 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:43,990 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:45,004 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:47,510 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:48,624 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:48,700 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:49,712 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:49,865 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:50,920 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:53,998 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:54,065 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:57:54,126 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:54,213 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:54,297 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:54,400 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:56,457 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:02,109 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:02,178 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:03,183 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:05,330 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:06,499 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:06,611 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:07,619 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:07,811 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:08,868 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:11,940 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:12,016 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:58:12,090 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:12,186 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:58:12,316 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:58:12,412 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:14,483 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[---2022-56-æ¨è¾å ¥ç CVV æ æã] | 13.39 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A901E250> number = '', name = '', month = '', year = '2022', pwd = '56' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A901E490>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A901E490>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A901E490>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A901E490> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A901E250>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:05,290 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:05,370 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:06,377 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:10,105 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:11,234 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:11,343 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:12,348 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:12,510 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:13,581 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:16,658 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:16,729 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:16,815 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:16,924 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:58:17,038 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:58:17,124 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:19,178 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:24,843 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:24,898 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:25,911 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:28,130 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:29,245 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:29,332 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:30,346 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:30,479 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:32,278 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:35,352 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:35,418 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:35,474 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:35,551 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:58:35,621 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:58:35,695 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:37,760 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-æ---568-æ¨è¾å ¥çåç§°æ æã] | 12.48 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18B6DA30> number = '', name = '李', month = '', year = '', pwd = '568' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18B8BCD0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18B8BCD0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18B8BCD0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18B8BCD0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18B6DA30>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:15,167 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:15,245 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:16,259 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:18,249 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:19,381 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:19,471 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:20,474 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:20,638 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:21,699 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:24,777 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:24,861 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:58:24,924 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:24,981 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:25,058 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:58:25,186 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:27,277 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:32,947 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:32,996 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:34,002 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:36,067 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:37,165 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:37,240 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:38,249 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:38,389 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:39,457 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:42,531 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:42,607 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:58:42,673 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:42,743 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:42,823 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:58:42,920 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:44,983 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Failed | TestCase/store_test_case/test_store.py::TestBody::test_033[-æ----æ¨è¾å ¥çåç§°æ æã] | 12.52 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18BD21C0> number = '', name = '李', month = '', year = '', pwd = '' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BD2790>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BD2790>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BD2790>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BD2790> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18BD21C0>.driver TestCase\store_test_case\test_store.py:330: AssertionError[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:45,962 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:46,018 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:47,022 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:48,691 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:49,794 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:49,880 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:50,893 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:51,032 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:52,700 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:55,775 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:55,838 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:58:55,895 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:55,948 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:56,003 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:56,102 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:58,178 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:59:03,767 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:59:03,809 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:59:04,816 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:59:06,717 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:59:07,811 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:59:07,890 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:59:08,902 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:59:09,014 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:59:10,077 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:59:13,141 [basepage.py:82] 输入文本: INFO 2021-11-16 14:59:13,203 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:59:13,257 [basepage.py:82] 输入文本: INFO 2021-11-16 14:59:13,309 [basepage.py:82] 输入文本: INFO 2021-11-16 14:59:13,361 [basepage.py:82] 输入文本: INFO 2021-11-16 14:59:13,433 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:59:15,489 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_021[-æ¨éè¦è¾å ¥ä¸ä¸ªææé®ç®±ã] | 12.30 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18B7B0D0> email_data = '', error_text = '您需要输入一个有效邮箱。' @pytest.mark.parametrize('email_data, error_text', getExcelAllData('邮箱错误', 'Store/store.xlsx')) @allure.title('video购买页面填写错误格式邮箱测试') def test_021(self, email_data, error_text): """video购买页面填写错误格式邮箱功能测试""" allure.dynamic.tag('邮箱为==》{}'.format(email_data)) self.driver.video_buy_first_step() self.driver.send_email('') self.driver.confirm_email() self.driver.send_email(email_data) self.driver.confirm_email() > assert self.driver.return_email_error_text() == error_text E AssertionError: assert 'You need to ...mail address.' == '您需要输入一个有效邮箱。' E - 您需要输入一个有效邮箱。 E + You need to enter a valid email address. TestCase\store_test_case\test_store.py:219: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:50:57,765 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:50:57,812 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:50:58,824 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:51:06,778 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:51:07,854 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:07,949 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:08,988 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:09,035 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:10,067 [basepage.py:96] 获取到文本:You need to enter a valid email address. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:96 获取到文本:You need to enter a valid email address. | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_021[m111-æ¨è¾å ¥çé®ç®±æ æã] | 9.63 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C5E760> email_data = 'm111', error_text = '您输入的邮箱无效。' @pytest.mark.parametrize('email_data, error_text', getExcelAllData('邮箱错误', 'Store/store.xlsx')) @allure.title('video购买页面填写错误格式邮箱测试') def test_021(self, email_data, error_text): """video购买页面填写错误格式邮箱功能测试""" allure.dynamic.tag('邮箱为==》{}'.format(email_data)) self.driver.video_buy_first_step() self.driver.send_email('') self.driver.confirm_email() self.driver.send_email(email_data) self.driver.confirm_email() > assert self.driver.return_email_error_text() == error_text E AssertionError: assert 'The email ad...is not valid.' == '您输入的邮箱无效。' E - 您输入的邮箱无效。 E + The email address you entered is not valid. TestCase\store_test_case\test_store.py:219: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:51:25,318 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:51:25,375 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:51:26,379 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:51:31,640 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:51:32,706 [basepage.py:82] 输入文本: INFO 2021-11-16 14:51:32,777 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:33,858 [basepage.py:82] 输入文本:m111 INFO 2021-11-16 14:51:33,924 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:51:34,952 [basepage.py:96] 获取到文本:The email address you entered is not valid. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:82 输入文本:m111 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:96 获取到文本:The email address you entered is not valid. | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_028[1111-æ¨éè¦è¾å ¥ä¸ä¸ªææä¼æ ç ã] | 7.95 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC49EF520> code = '1111', error_text = '您需要输入一个有效优惠码。' @pytest.mark.parametrize('code, error_text', getExcelByRow('优惠码错误', 1, 2, 'Store/store.xlsx')) @allure.title('video购买页面填写错误优惠码测试') def test_028(self, code, error_text): """video购买页面填写错误优惠码功能测试""" allure.dynamic.tag('优惠码==》{}'.format(code)) self.driver.video_buy_addCoupon_step(code) > assert self.driver.return_code_error_text() == error_text E AssertionError: assert 'You need to ... coupon code.' == '您需要输入一个有效优惠码。' E - 您需要输入一个有效优惠码。 E + You need to enter a valid coupon code. TestCase\store_test_case\test_store.py:281: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:52:22,499 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:52:22,546 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:52:23,555 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:52:24,844 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:52:25,933 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:52:26,024 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:52:27,036 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:52:27,157 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:52:28,285 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO 2021-11-16 14:52:29,372 [basepage.py:82] 输入文本:1111 INFO 2021-11-16 14:52:29,438 [basepage.py:90] 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO 2021-11-16 14:52:30,459 [basepage.py:96] 获取到文本:You need to enter a valid coupon code. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO root:basepage.py:82 输入文本:1111 INFO root:basepage.py:90 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:You need to enter a valid coupon code. | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_028[youhuima2021-æ¬ä¼æ å¸å·²è¢«ä½¿ç¨å¤ªå¤æ¬¡ã] | 8.43 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4A72E50> code = 'youhuima2021', error_text = '本优惠券已被使用太多次。' @pytest.mark.parametrize('code, error_text', getExcelByRow('优惠码错误', 1, 2, 'Store/store.xlsx')) @allure.title('video购买页面填写错误优惠码测试') def test_028(self, code, error_text): """video购买页面填写错误优惠码功能测试""" allure.dynamic.tag('优惠码==》{}'.format(code)) self.driver.video_buy_addCoupon_step(code) > assert self.driver.return_code_error_text() == error_text E AssertionError: assert 'This coupon ...o many times.' == '本优惠券已被使用太多次。' E - 本优惠券已被使用太多次。 E + This coupon has been used too many times. TestCase\store_test_case\test_store.py:281: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:52:46,010 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:52:46,053 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:52:47,055 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:52:48,908 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:52:49,997 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:52:50,067 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:52:51,068 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:52:51,182 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:52:52,272 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO 2021-11-16 14:52:53,358 [basepage.py:82] 输入文本:youhuima2021 INFO 2021-11-16 14:52:53,417 [basepage.py:90] 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO 2021-11-16 14:52:54,444 [basepage.py:96] 获取到文本:This coupon has been used too many times. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO root:basepage.py:82 输入文本:youhuima2021 INFO root:basepage.py:90 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This coupon has been used too many times. | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_029[-伿 ç ä¸è½ä¸ºç©ºã] | 8.04 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC49EF790> code = '', error_text = '优惠码不能为空。' @pytest.mark.parametrize('code, error_text', getExcelByRow('优惠码错误', 3, 1, 'Store/store.xlsx')) @allure.title('video购买页面填写空优惠码测试') def test_029(self, code, error_text): """video购买页面填写空优惠码功能测试""" allure.dynamic.tag('优惠码==》{}'.format(code)) self.driver.video_buy_addCoupon_step(code) > assert self.driver.return_code_null_text() == error_text E AssertionError: assert 'The coupon c...not be blank.' == '优惠码不能为空。' E - 优惠码不能为空。 E + The coupon code cannot be blank. TestCase\store_test_case\test_store.py:289: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:09,464 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:09,511 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:10,525 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:12,021 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:13,113 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:13,195 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:14,201 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:14,318 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:15,380 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO 2021-11-16 14:53:16,431 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:16,487 [basepage.py:90] 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:17,513 [basepage.py:96] 获取到文本:The coupon code cannot be blank. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div:nth-child(2) > div > div > div:nth-child(2)>span>a') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', 'form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:The coupon code cannot be blank. | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[12345-lin-2-2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 15.09 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C5E070> number = '12345', name = 'lin', month = '2', year = '2022', pwd = '568' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The credit card you entered is not valid.'] E + where ['The credit card you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C5E0A0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C5E0A0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C5E0A0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C5E0A0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C5E070>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:03,194 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:03,234 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:04,237 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:09,451 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:10,553 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:10,626 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:11,629 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:11,764 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:12,826 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:15,923 [basepage.py:82] 输入文本:12345 INFO 2021-11-16 14:53:16,004 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:53:16,067 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:53:16,136 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:53:16,200 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:53:16,267 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:18,292 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12345 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥çåç§°æ æã] | 11.84 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39194340> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39194160>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39194160>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39194160>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39194160> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39194340>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:16,317 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:16,365 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:17,380 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:19,352 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:20,447 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:20,521 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:21,521 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:21,640 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:22,700 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:25,772 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:25,826 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:25,878 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:25,930 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:25,991 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:26,091 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:28,167 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[12346--2-2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 15.47 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C8AF40> number = '12346', name = '', month = '2', year = '2022', pwd = '568' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C8AF10>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C8AF10>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C8AF10>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C8AF10> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18C8AF40>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:40,863 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:40,912 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:41,918 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:46,963 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:48,075 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:48,146 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:49,157 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:49,838 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:50,905 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:54,004 [basepage.py:82] 输入文本:12346 INFO 2021-11-16 14:53:54,062 [basepage.py:82] 输入文本: INFO 2021-11-16 14:53:54,121 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:53:54,182 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:53:54,244 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:53:54,306 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:53:56,339 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12346 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[:62122 62502 00918 2455-lin-24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 12.14 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39135820> number = ':62122 62502 00918 2455', name = 'lin', month = '24', year = '2022' pwd = '568', error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The expiry month you entered is not valid.'] E + where ['The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39135700>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39135700>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39135700>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39135700> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39135820>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:48,301 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:48,358 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:49,361 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:51,556 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:52,659 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:52,742 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:53:53,753 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:53:53,873 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:53:54,923 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:53:58,086 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:53:58,146 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:53:58,217 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:53:58,283 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:53:58,344 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:53:58,412 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:00,448 [basepage.py:211] 获取到text==》['The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The expiry month you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[--12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 15.62 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F4C9D0> number = '', name = '', month = '12', year = '1000', pwd = '568' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F88B50>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F88B50>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F88B50>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F88B50> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F4C9D0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:51,318 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:51,359 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:52,365 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:58,105 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:59,216 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:59,300 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:00,303 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:00,420 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:01,479 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:04,555 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:04,610 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:04,671 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:54:04,742 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:54:04,808 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:04,881 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:06,943 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[----56-æ¨è¾å ¥ç CVV æ æã] | 12.33 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC49D1070> number = '', name = '', month = '', year = '', pwd = '56' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AA32B0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AA32B0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AA32B0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AA32B0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC49D1070>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:53:55,210 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:53:55,250 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:53:56,253 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:53:58,164 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:53:59,277 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:53:59,350 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:00,365 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:01,052 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:02,113 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:05,180 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:05,234 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:05,286 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:05,339 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:05,398 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:54:05,469 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:07,550 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-lin-24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 12.17 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3919B490> number = '', name = 'lin', month = '24', year = '2022', pwd = '568' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] E + where ['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919BD00>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919BD00>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919BD00>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919BD00> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3919B490>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:18,607 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:18,652 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:19,655 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:21,868 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:23,016 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:23,099 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:24,104 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:24,253 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:25,312 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:28,388 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:28,467 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:54:28,550 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:54:28,622 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:28,687 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:28,755 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:30,782 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[12347---2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 14.29 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CB1D90> number = '12347', name = '', month = '', year = '2022', pwd = '568' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CB16A0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CB16A0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CB16A0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CB16A0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CB1D90>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:17,111 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:17,173 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:18,178 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:22,463 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:23,556 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:23,630 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:24,632 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:24,795 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:25,863 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:28,965 [basepage.py:82] 输入文本:12347 INFO 2021-11-16 14:54:29,042 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:29,110 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:29,187 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:29,273 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:29,364 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:31,406 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12347 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥ç CVV æ æã] | 11.92 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4AB6A30> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AB6820>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AB6820>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AB6820>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AB6820> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4AB6A30>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:25,724 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:25,773 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:26,782 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:28,797 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:29,906 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:29,987 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:30,990 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:31,121 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:32,210 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:35,279 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,341 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,395 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,446 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,506 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:35,583 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:37,647 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[---1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 14.11 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FFCDC0> number = '', name = '', month = '', year = '1000', pwd = '568' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFCFA0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFCFA0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFCFA0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFCFA0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FFCDC0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:27,830 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:27,902 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:28,918 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:33,007 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:34,097 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:34,180 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:35,196 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:35,319 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:36,433 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:39,510 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:39,582 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:39,654 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:39,730 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:54:39,814 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:39,889 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:54:41,950 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[--24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 11.41 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3917A640> number = '', name = '', month = '24', year = '2022', pwd = '568' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39209FD0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39209FD0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39209FD0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39209FD0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3917A640>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:49,289 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:49,333 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:50,335 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:51,804 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:52,909 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:52,992 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:53,994 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:54,127 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:55,195 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:54:58,277 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:58,354 [basepage.py:82] 输入文本: INFO 2021-11-16 14:54:58,430 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:54:58,518 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:54:58,585 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:54:58,651 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:00,706 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[12348----569-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 13.32 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18BDF790> number = '12348', name = '', month = '', year = '', pwd = '569' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CEB520>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CEB520>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CEB520>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CEB520> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18BDF790>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:51,367 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:51,414 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:52,423 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:55,640 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:54:56,742 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:54:56,818 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:54:57,821 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:54:57,945 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:54:59,230 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:02,323 [basepage.py:82] 输入文本:12348 INFO 2021-11-16 14:55:02,379 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:02,435 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:02,487 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:02,549 [basepage.py:82] 输入文本:569 INFO 2021-11-16 14:55:02,620 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:04,690 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12348 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:569 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_034[62122 62502 00918 2455-lin-2-2022-568-æ¬æ¬¡ä»æ¬¾è¢«æ¨çé¶è¡æç»ã请éè¯ï¼æä½¿ç¨å¦å¤çæ¯ä»æ¹å¼ãèç³»æ¨çé¶è¡ä»¥è·åè¿ä¸æ¥çä¿¡æ¯ã] | 12.01 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4ABAFA0> number = '62122 62502 00918 2455', name = 'lin', month = '2', year = '2022' pwd = '568', error_text = '本次付款被您的银行拒绝。请重试,或使用另外的支付方式。联系您的银行以获取进一步的信息。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付银行异常', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息银行拒绝测试') def test_034(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息银行拒绝功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_BANK_error_text() E AssertionError: assert '本次付款被您的银行拒绝。请重试,或使用另外的支付方式。联系您的银行以获取进一步的信息。' in 'This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information.' E + where 'This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information.' = <bound method StorePage.return_card_pay_BANK_error_text of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AB88E0>>() E + where <bound method StorePage.return_card_pay_BANK_error_text of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AB88E0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AB88E0>.return_card_pay_BANK_error_text E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC4AB88E0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC4ABAFA0>.driver TestCase\store_test_case\test_store.py:345: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:54:56,634 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:54:56,678 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:54:57,681 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:54:59,722 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:00,825 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:00,903 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:01,908 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:02,025 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:03,109 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:06,264 [basepage.py:82] 输入文本:62122 62502 00918 2455 INFO 2021-11-16 14:55:06,331 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:55:06,390 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:55:06,456 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:55:06,534 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:06,611 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:08,654 [basepage.py:96] 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[---1000--æ¨è¾å ¥çæéå¹´ä»½æ æã] | 13.81 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F28520> number = '', name = '', month = '', year = '1000', pwd = '' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F4CA60>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F4CA60>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F4CA60>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F4CA60> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F28520>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:04,216 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:04,256 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:05,260 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:08,413 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:09,565 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:09,657 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:10,663 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:10,848 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:12,581 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:15,652 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:15,707 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:15,759 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:15,830 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:55:15,891 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:15,960 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:18,033 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[--24--568-æ¨è¾å ¥çæéæä»½æ æã] | 13.10 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF392961F0> number = '', name = '', month = '24', year = '', pwd = '568' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39296D30>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39296D30>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39296D30>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39296D30> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF392961F0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:20,174 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:20,217 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:21,220 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:24,361 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:25,450 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:25,523 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:26,525 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:26,666 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:27,722 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:30,785 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:30,849 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:30,948 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:55:31,026 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:31,122 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:31,203 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:33,275 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[12349-----æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 12.87 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CA7E80> number = '12349', name = '', month = '', year = '', pwd = '' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C87D30>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C87D30>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C87D30>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C87D30> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CA7E80>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:24,769 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:24,812 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:25,813 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:28,244 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:29,364 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:29,470 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:30,483 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:31,077 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:32,161 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:35,255 [basepage.py:82] 输入文本:12349 INFO 2021-11-16 14:55:35,324 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:35,383 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:35,439 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:35,498 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:35,567 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:37,643 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:12349 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_034[62284 80088 14184 8874-lin-2-2022-568-æ¬æ¬¡ä»æ¬¾è¢«æ¨çé¶è¡æç»ã请éè¯ï¼æä½¿ç¨å¦å¤çæ¯ä»æ¹å¼ãèç³»æ¨çé¶è¡ä»¥è·åè¿ä¸æ¥çä¿¡æ¯ã] | 15.01 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC491BBE0> number = '62284 80088 14184 8874', name = 'lin', month = '2', year = '2022' pwd = '568', error_text = '本次付款被您的银行拒绝。请重试,或使用另外的支付方式。联系您的银行以获取进一步的信息。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付银行异常', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息银行拒绝测试') def test_034(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息银行拒绝功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_BANK_error_text() E AssertionError: assert '本次付款被您的银行拒绝。请重试,或使用另外的支付方式。联系您的银行以获取进一步的信息。' in 'This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information.' E + where 'This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information.' = <bound method StorePage.return_card_pay_BANK_error_text of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC5B59E80>>() E + where <bound method StorePage.return_card_pay_BANK_error_text of <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC5B59E80>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC5B59E80>.return_card_pay_BANK_error_text E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000029CC5B59E80> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000029CC491BBE0>.driver TestCase\store_test_case\test_store.py:345: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:27,231 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:27,280 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:28,292 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:29,781 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:30,921 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:31,038 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:32,043 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:32,207 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:33,268 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:36,433 [basepage.py:82] 输入文本:62284 80088 14184 8874 INFO 2021-11-16 14:55:36,499 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:55:36,560 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:55:36,649 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:55:36,715 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:55:36,792 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:42,250 [basepage.py:96] 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本:62284 80088 14184 8874 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:96 获取到文本:This payment was declined by your bank. Please try again, or use a different payment method. Contact your bank for further information. | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥çæéå¹´ä»½æ æã] | 15.86 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FFF7C0> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F33E80>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F33E80>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F33E80>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8F33E80> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FFF7C0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:37,004 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:37,053 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:38,064 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:43,642 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:44,769 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:44,906 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:45,907 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:46,046 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:47,409 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:55:50,480 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,534 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,589 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,641 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,709 [basepage.py:82] 输入文本: INFO 2021-11-16 14:55:50,793 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:55:52,864 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[--24---æ¨è¾å ¥çæéæä»½æ æã] | 11.96 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39144C10> number = '', name = '', month = '24', year = '', pwd = '' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3923CAF0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3923CAF0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3923CAF0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3923CAF0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39144C10>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:52,372 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:52,420 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:53,422 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:55:55,387 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:55:56,483 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:55:56,558 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:55:57,563 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:55:57,778 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:55:58,838 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:01,924 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:01,995 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:02,073 [basepage.py:82] 输入文本:24 INFO 2021-11-16 14:56:02,130 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:02,185 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:02,270 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:04,334 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:24 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 14.25 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CD7BE0> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的信用卡无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的信用卡无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD7820>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD7820>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD7820>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18CD7820> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CD7BE0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:55:57,602 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:55:57,667 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:55:58,671 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:03,034 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:04,136 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:04,220 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:05,231 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:05,353 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:06,419 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:09,486 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,546 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,599 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,655 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,705 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:09,788 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:11,858 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[:62122 62502 00918 2455-lin-2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 16.97 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F75340> number = ':62122 62502 00918 2455', name = 'lin', month = '2', year = '2022' pwd = '56', error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The CVV you entered is not valid.'] E + where ['The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFCAC0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFCAC0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFCAC0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFCAC0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F75340>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:14,057 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:14,100 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:15,112 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:22,069 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:23,180 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:23,253 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:24,267 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:24,400 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:25,520 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:28,677 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:56:28,739 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:56:28,795 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:56:28,864 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:56:28,932 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:56:29,006 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:31,031 [basepage.py:211] 获取到text==》['The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-----æ¨è¾å ¥çæéæä»½æ æã] | 13.29 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39295040> number = '', name = '', month = '', year = '', pwd = '' error_text = '您输入的期限月份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限月份无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919B220>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919B220>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919B220>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF3919B220> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF39295040>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:24,193 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:24,250 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:25,257 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:28,645 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:29,745 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:29,828 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:30,843 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:30,969 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:32,027 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:35,106 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,167 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,224 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,275 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,330 [basepage.py:82] 输入文本: INFO 2021-11-16 14:56:35,413 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:37,487 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[:62122 62502 00918 2455-æ-2-2022-568-æ¨è¾å ¥çåç§°æ æã] | 14.42 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CD7580> number = ':62122 62502 00918 2455', name = '李', month = '2', year = '2022' pwd = '568', error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.'] E + where ['The name you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BE2DF0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BE2DF0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BE2DF0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18BE2DF0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CD7580>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:37,981 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:38,026 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:39,034 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:43,181 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:56:44,286 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:56:44,365 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:56:45,379 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:56:45,503 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:56:46,936 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:56:50,079 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:56:50,135 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:56:50,189 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:56:50,261 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:56:50,318 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:56:50,375 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:56:52,405 [basepage.py:211] 获取到text==》['The name you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[:62122 62502 00918 2455-lin-12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 11.57 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF392443D0> number = ':62122 62502 00918 2455', name = 'lin', month = '12', year = '1000' pwd = '568', error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The expiry year you entered is not valid.'] E + where ['The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39062940>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39062940>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39062940>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF39062940> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF392443D0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:56,379 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:56,419 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:57,435 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:56:58,975 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:00,078 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:00,154 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:01,165 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:01,305 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:02,427 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:05,593 [basepage.py:82] 输入文本::62122 62502 00918 2455 INFO 2021-11-16 14:57:05,656 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:05,723 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:57:05,795 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:57:05,857 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:05,918 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:07,954 [basepage.py:211] 获取到text==》['The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本::62122 62502 00918 2455 INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The expiry year you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-lin-2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 15.33 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F889D0> number = '', name = 'lin', month = '2', year = '2022', pwd = '56' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A907E8E0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A907E8E0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A907E8E0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A907E8E0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8F889D0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:56:54,287 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:56:54,335 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:56:55,336 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:00,757 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:01,853 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:01,938 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:02,940 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:03,064 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:04,188 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:07,267 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:07,327 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:07,382 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:07,446 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:07,513 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:57:07,578 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:09,625 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-æ-2-2022-568-æ¨è¾å ¥çåç§°æ æã] | 12.61 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CACFD0> number = '', name = '李', month = '2', year = '2022', pwd = '568' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C8A7C0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C8A7C0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C8A7C0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C8A7C0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18CACFD0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:12,788 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:12,838 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:13,852 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:16,326 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:17,442 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:17,529 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:18,536 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:18,652 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:19,896 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:22,965 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:23,063 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:57:23,128 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:23,217 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:23,284 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:23,363 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:25,403 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-lin-12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 12.11 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3908DA90> number = '', name = 'lin', month = '12', year = '1000', pwd = '568' error_text = '您输入的期限年份无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的期限年份无效。' in ['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF390F8EB0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF390F8EB0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF390F8EB0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x000001BF390F8EB0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x000001BF3908DA90>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:27,262 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:27,303 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:28,307 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:30,548 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:31,656 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:31,729 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:32,734 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:32,850 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:33,927 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:37,007 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:37,077 [basepage.py:82] 输入文本:lin INFO 2021-11-16 14:57:37,140 [basepage.py:82] 输入文本:12 INFO 2021-11-16 14:57:37,215 [basepage.py:82] 输入文本:1000 INFO 2021-11-16 14:57:37,280 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:37,341 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:39,381 [basepage.py:211] 获取到text==》['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:lin INFO root:basepage.py:82 输入文本:12 INFO root:basepage.py:82 输入文本:1000 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The credit card you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[--2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 15.07 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A901E850> number = '', name = '', month = '2', year = '2022', pwd = '56' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFF520>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFF520>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFF520>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A8FFF520> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A901E850>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:29,619 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:29,668 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:30,672 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:34,690 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:35,803 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:35,891 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:36,906 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:37,037 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:39,226 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:42,294 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:42,351 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:42,423 [basepage.py:82] 输入文本:2 INFO 2021-11-16 14:57:42,497 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:42,557 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:57:42,639 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:44,698 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2 INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-æ--2022-568-æ¨è¾å ¥çåç§°æ æã] | 12.52 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18B2C6A0> number = '', name = '李', month = '', year = '2022', pwd = '568' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C901F0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C901F0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C901F0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C901F0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18B2C6A0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:57:43,933 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:57:43,990 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:57:45,004 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:57:47,510 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:57:48,624 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:57:48,700 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:57:49,712 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:57:49,865 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:57:50,920 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:57:53,998 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:54,065 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:57:54,126 [basepage.py:82] 输入文本: INFO 2021-11-16 14:57:54,213 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:57:54,297 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:57:54,400 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:57:56,457 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[---2022-56-æ¨è¾å ¥ç CVV æ æã] | 13.88 | ||
|
[gw3] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FF4DF0> number = '', name = '', month = '', year = '2022', pwd = '56' error_text = '您输入的 CVV 无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的 CVV 无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9058790>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9058790>> = <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9058790>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x00000245A9058790> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x00000245A8FF4DF0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:05,290 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:05,370 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:06,377 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:10,105 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:11,234 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:11,343 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:12,348 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:12,510 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:13,581 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:16,658 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:16,729 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:16,815 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:16,924 [basepage.py:82] 输入文本:2022 INFO 2021-11-16 14:58:17,038 [basepage.py:82] 输入文本:56 INFO 2021-11-16 14:58:17,124 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:19,178 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:2022 INFO root:basepage.py:82 输入文本:56 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-æ---568-æ¨è¾å ¥çåç§°æ æã] | 12.10 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18AC91C0> number = '', name = '李', month = '', year = '', pwd = '568' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18AA6AC0>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18AA6AC0>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18AA6AC0>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18AA6AC0> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18AC91C0>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:15,167 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:15,245 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:16,259 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:18,249 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:19,381 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:19,471 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:20,474 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:20,638 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:21,699 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:24,777 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:24,861 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:58:24,924 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:24,981 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:25,058 [basepage.py:82] 输入文本:568 INFO 2021-11-16 14:58:25,186 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:27,277 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:568 INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.'] | ||||
| Rerun | TestCase/store_test_case/test_store.py::TestBody::test_033[-æ----æ¨è¾å ¥çåç§°æ æã] | 12.21 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe self = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18B8B340> number = '', name = '李', month = '', year = '', pwd = '' error_text = '您输入的名称无效。' @pytest.mark.parametrize('number,name,month,year,pwd,error_text', getExcelAllData('卡片支付', 'Store/store.xlsx')) @allure.title('video购买页面添加支付卡信息错误测试') def test_033(self, number, name, month, year, pwd, error_text): """video购买页面添加支付卡信息错误功能测试""" allure.dynamic.tag('填写支付卡信息') self.driver.video_buy_three_step() self.driver.card_to_pay() self.driver.send_cardNumber(number) self.driver.send_cardName(name) self.driver.send_cardMonth(month) self.driver.send_cardYear(year) self.driver.send_cardPwd(pwd) self.driver.submit_card() > assert error_text in self.driver.return_card_pay_error_texts() E AssertionError: assert '您输入的名称无效。' in ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] E + where ['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] = <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C7EC10>>() E + where <bound method StorePage.return_card_pay_error_texts of <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C7EC10>> = <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C7EC10>.return_card_pay_error_texts E + where <pytest_project.page_object.store.store_page.StorePage object at 0x0000025A18C7EC10> = <pytest_project.TestCase.store_test_case.test_store.TestBody object at 0x0000025A18B8B340>.driver TestCase\store_test_case\test_store.py:330: AssertionError -----------------------------Captured stderr setup------------------------------ INFO 2021-11-16 14:58:45,962 [basepage.py:32] 打开网页https://www.imymac.com/store/ -------------------------------Captured log setup------------------------------- INFO root:basepage.py:32 打开网页https://www.imymac.com/store/ ------------------------------Captured stderr call------------------------------ INFO 2021-11-16 14:58:46,018 [basepage.py:90] 点击元素:('css', '#video-converter-one-year') INFO 2021-11-16 14:58:47,022 [basepage.py:181] 切换frame==>pf_588082 INFO 2021-11-16 14:58:48,691 [basepage.py:153] 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO 2021-11-16 14:58:49,794 [basepage.py:82] 输入文本:123@123.com INFO 2021-11-16 14:58:49,880 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO 2021-11-16 14:58:50,893 [basepage.py:186] 下拉框value选择==》CN INFO 2021-11-16 14:58:51,032 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO 2021-11-16 14:58:52,700 [basepage.py:90] 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO 2021-11-16 14:58:55,775 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:55,838 [basepage.py:82] 输入文本:李 INFO 2021-11-16 14:58:55,895 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:55,948 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:56,003 [basepage.py:82] 输入文本: INFO 2021-11-16 14:58:56,102 [basepage.py:90] 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO 2021-11-16 14:58:58,178 [basepage.py:211] 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] -------------------------------Captured log call-------------------------------- INFO root:basepage.py:90 点击元素:('css', '#video-converter-one-year') INFO root:basepage.py:181 切换frame==>pf_588082 INFO root:basepage.py:153 使用js操控浏览器==》document.querySelector("#root > div > div.sc-bBjRSN.kEYJmH").style.display="none"; INFO root:basepage.py:82 输入文本:123@123.com INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div>div>button') INFO root:basepage.py:186 下拉框value选择==》CN INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>form>div:nth-child(3)>div>button') INFO root:basepage.py:90 点击元素:('css', '#root > div > div> div> div > div > div >div:nth-child(3)>div>div:nth-child(1)>button') INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本:李 INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:82 输入文本: INFO root:basepage.py:90 点击元素:('css', '#root>div>div>div>div:nth-child(2)>div>div>div:nth-child(3)>form>div:nth-child(2)>div>button') INFO root:basepage.py:211 获取到text==》['The name you entered is not valid.', 'The credit card you entered is not valid.', 'The expiry month you entered is not valid.', 'The expiry year you entered is not valid.', 'The CVV you entered is not valid.'] | ||||
| Skipped | TestCase/discount_test_case/test_discount.py::TestBody::test_003[-Please type your student email.] | 0.00 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe ('D:\\auto_test_iMyMac\\PycharmProjects\\pytest_project\\TestCase\\discount_test_case\\test_discount.py', 32, 'Skipped: 功能暂时取消')[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe | ||||
| Skipped | TestCase/discount_test_case/test_discount.py::TestBody::test_005 | 0.00 | ||
|
[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe ('D:\\auto_test_iMyMac\\PycharmProjects\\pytest_project\\TestCase\\discount_test_case\\test_discount.py', 48, 'Skipped: 功能未完成')[gw0] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe | ||||
| Skipped | TestCase/discount_test_case/test_discount.py::TestBody::test_003[123@123.123-Please check out if your student email on the below list.] | 0.00 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe ('D:\\auto_test_iMyMac\\PycharmProjects\\pytest_project\\TestCase\\discount_test_case\\test_discount.py', 32, 'Skipped: 功能暂时取消')[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe | ||||
| Skipped | TestCase/discount_test_case/test_discount.py::TestBody::test_003[123@ac.uk-Your applying message has been sent successfully, we will contact you asap!] | 0.00 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe ('D:\\auto_test_iMyMac\\PycharmProjects\\pytest_project\\TestCase\\discount_test_case\\test_discount.py', 32, 'Skipped: 功能暂时取消')[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe | ||||
| Skipped | TestCase/index_test_case/test_body.py::TestBody::test_008 | 0.00 | ||
|
[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe ('D:\\auto_test_iMyMac\\PycharmProjects\\pytest_project\\TestCase\\index_test_case\\test_body.py', 77, 'Skipped: 轮播图第一页初始样式有问题')[gw2] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe | ||||
| Skipped | TestCase/resource_test_case/test_resource.py::TestBody::test_008 | 0.00 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe ('D:\\auto_test_iMyMac\\PycharmProjects\\pytest_project\\TestCase\\resource_test_case\\test_resource.py', 77, 'Skipped: 翻页功能bug')[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe | ||||
| Skipped | TestCase/store_test_case/test_store.py::TestBody::test_025 | 0.00 | ||
|
[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe [gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe ('D:\\auto_test_iMyMac\\PycharmProjects\\pytest_project\\TestCase\\store_test_case\\test_store.py', 249, 'Skipped: 设计已修改地区禁止填写为空')[gw1] win32 -- Python 3.9.6 c:\users\123\appdata\local\programs\python\python39\python.exe | ||||
| Passed | TestCase/contact_test_case/test_contact.py::TestBody::test_002[suggestion-If you have any suggestions, such as the website and service, contact us by email.] | 4.12 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/contact_test_case/test_contact.py::TestBody::test_002[question-If you prepare to purchase or had bought products from iMyMac, please feel free to contact us by email with any questions.] | 4.56 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/contact_test_case/test_contact.py::TestBody::test_001 | 4.57 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/discount_test_case/test_discount.py::TestBody::test_001[step-1-Submit your email in the box below.] | 0.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/contact_test_case/test_contact.py::TestBody::test_002[email-iMyMac Supporter Email: support@imymac.com] | 5.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/discount_test_case/test_discount.py::TestBody::test_001[step-2-Weâll review your email and verify, then send you a coupon code.] | 1.50 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/discount_test_case/test_discount.py::TestBody::test_001[step-3-Apply your discount with the coupon code after choosing desired product in https://www.imymac.com/store/] | 0.73 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/discount_test_case/test_discount.py::TestBody::test_002 | 2.48 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/discount_test_case/test_discount.py::TestBody::test_006 | 0.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/discount_test_case/test_discount.py::TestBody::test_004 | 0.51 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_001[PowerMyMac] | 3.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_001[General-FAQs] | 3.16 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_001[Sales-FAQ] | 3.34 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_001[Mac-Cleaner] | 3.42 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_001[Video-Converter] | 1.98 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_002[General-FAQs] | 3.05 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_001[PDF-Compressor] | 2.47 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_002[Sales-FAQ] | 3.03 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_002[PowerMyMac] | 3.02 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_002[Video-Converter] | 3.02 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_002[Mac-Cleaner] | 3.25 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_002[PDF-Compressor] | 3.10 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_003[General-FAQs] | 4.00 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_003[PowerMyMac] | 3.90 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_003[Sales-FAQ] | 3.94 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_003[Mac-Cleaner] | 3.94 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_003[Video-Converter] | 3.96 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[java-General-FAQs] | 4.91 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_003[PDF-Compressor] | 4.19 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[java-Sales-FAQ] | 5.22 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[java-PowerMyMac] | 4.44 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[java-Video-Converter] | 4.19 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[java-Mac-Cleaner] | 5.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[java-PDF-Compressor] | 4.12 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[python-General-FAQs] | 4.43 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[python-PowerMyMac] | 4.65 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[python-Mac-Cleaner] | 4.49 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[python-Sales-FAQ] | 5.11 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[python-Video-Converter] | 4.32 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[imymac-General-FAQs] | 4.49 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[python-PDF-Compressor] | 4.26 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[imymac-Sales-FAQ] | 4.86 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[imymac-PowerMyMac] | 4.56 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[imymac-Video-Converter] | 4.37 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[imymac-PDF-Compressor] | 4.17 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_004[imymac-Mac-Cleaner] | 4.67 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_005[adggwgwdqw-General-FAQs] | 4.05 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_005[adggwgwdqw-PowerMyMac] | 4.02 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_001 | 1.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_005[adggwgwdqw-Mac-Cleaner] | 3.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_005[adggwgwdqw-Sales-FAQ] | 4.30 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_005[adggwgwdqw-Video-Converter] | 3.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_005 | 1.83 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_002 | 2.01 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[similar-image] | 1.87 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_003 | 2.72 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[mail] | 1.88 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/faq_test_case/test_index.py::TestBody::test_005[adggwgwdqw-PDF-Compressor] | 4.64 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_006 | 3.90 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[pdf-compressor] | 1.73 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_010 | 0.17 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[system-junk] | 3.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[mac-uninstaller] | 2.29 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Mac-Purgeable] | 1.92 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_004 | 4.15 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[large] | 3.16 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Company] | 2.10 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[duplicate-finder] | 1.96 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[mac-cleaner] | 3.04 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Student-Discount] | 1.83 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[browser-cleanup] | 2.76 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[itunes] | 1.89 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[License-Agreement] | 1.80 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[video-converter] | 1.71 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Uninstall-Apps] | 2.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_009 | 3.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Startup-disk] | 2.56 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Youtube] | 4.05 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[FAQ] | 1.54 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Speed-Up-Mac] | 1.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Photo-Management-Software] | 1.80 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Terms] | 2.01 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[es] | 4.15 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Contact] | 1.78 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[FaceBook] | 3.32 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Refund] | 1.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_007[user-guide] | 14.44 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[it] | 4.28 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[fr] | 4.53 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_body.py::TestBody::test_011 | 4.63 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[ru] | 3.41 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_003[-Please Enter the Email!] | 2.37 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Twitter] | 8.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_001[Video-Converter] | 1.81 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[tw] | 5.49 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_002[Mac-Cleaner] | 2.75 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[de] | 4.06 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[nl] | 3.49 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Find-Duplicate-file] | 8.29 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_002[Mac-Uninstaller] | 2.04 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[zh] | 3.44 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[ar] | 3.07 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Resource] | 3.22 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_003[online-PDF-Compressor] | 3.52 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[pl] | 2.61 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[Privacy] | 2.09 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_001[PowerMyMac] | 2.84 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/pdf_compressor_case/test_pdf_compressor.py::TestBody::test_001[download1] | 2.02 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_003[123.com-Email Format Error!] | 1.54 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_001[SiteMap] | 1.68 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_001[Store] | 1.95 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_001[index] | 2.42 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[com] | 2.82 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_002[Browser-Cleanup] | 2.24 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_001[Support] | 1.84 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_010 | 5.26 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_003[online-Video-Editor] | 2.68 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_002[Similar-Image-Finder] | 2.09 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[jp] | 5.04 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_004[ ] | 3.09 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_003[online-Photo-Compressor] | 2.72 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_011 | 4.68 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[ko] | 3.19 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/pdf_compressor_case/test_pdf_compressor.py::TestBody::test_001[download0] | 3.72 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_001[terms] | 4.89 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_002[pt] | 2.71 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_012 | 4.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_foot.py::TestFoot::test_004[123@qq.com-Successfully] | 1.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_004 | 4.80 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_001[refund] | 4.85 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_013[clean-up-macbook] | 4.68 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_001[PDF-Compressor] | 4.48 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_005 | 4.41 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_001[license] | 4.79 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_002[Duplicate-Finder] | 3.07 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_013[find-duplicate-file] | 4.64 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_006 | 3.53 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_013[the-best-mac-file-shredder] | 4.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_002[privacy] | 4.94 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_007 | 4.46 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_013[securely-delete-files] | 4.54 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_002[terms] | 4.94 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_003[online-Video-Converter] | 12.25 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_008 | 6.43 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_014 | 4.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_002[refund] | 5.01 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_001 | 1.43 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/index_test_case/test_head.py::TestHead::test_004[Video] | 3.57 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_002 | 1.50 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_002[license] | 5.10 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_009 | 7.17 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_001[privacy] | 5.00 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_003 | 5.27 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Cleaner] | 2.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_003[privacy] | 4.94 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_010 | 5.04 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_004 | 4.43 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[iTunes] | 2.71 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[iCloud] | 2.66 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_003[terms] | 4.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_005 | 4.39 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Duplicate] | 2.58 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_006 | 3.32 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Shredder] | 2.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/policy_test_case/test_policy.py::TestBody::test_003[license] | 4.79 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_001 | 1.40 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Similar] | 2.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_002 | 2.04 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_007 | 4.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Uninstaller] | 2.91 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Extension] | 2.59 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_008 | 4.82 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Browser] | 2.53 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_009 | 4.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Storage] | 2.61 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_003 | 10.54 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_011 | 23.79 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_004 | 1.34 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Junk Files] | 2.59 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_010 | 4.86 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Mac Tips] | 2.97 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_012 | 4.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_005 | 5.04 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[PDF] | 2.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_011 | 4.49 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_013[find-similar-images] | 4.85 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_006 | 3.29 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Convert Videos] | 2.70 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Edit Video] | 2.57 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_012 | 4.44 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_007 | 4.52 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_013[delete-cookies] | 4.76 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Hide] | 2.50 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_013[how-to-free-up-space-on-mac] | 4.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_008 | 4.92 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_004 | 4.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_013[open-rar-files] | 5.40 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_013[best-mac-cleaner] | 4.56 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_005 | 2.57 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_009 | 4.51 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_006[2] | 2.97 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_013[free-up-disk-space] | 5.22 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_013[how-to-speed-up-mac] | 4.58 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_007[4] | 2.98 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_010 | 4.39 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_013[uninstall-photoshop] | 4.88 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_007[5] | 3.02 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_cleaner.py::TestBody::test_013[uninstall-apps-on-mac] | 4.58 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_001 | 1.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_011 | 4.57 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_002 | 1.45 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_009 | 2.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_013[find-wifi-password] | 4.61 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_003 | 1.70 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_001 | 1.29 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_004 | 1.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_012 | 4.43 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_010[adggwgwdqw] | 3.27 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_002 | 1.37 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_003 | 1.93 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_004 | 1.20 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_005 | 4.33 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_013[clean-up-macbook] | 4.77 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_about.py::TestBody::test_001[PowerMyMac] | 5.53 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_about.py::TestBody::test_001[Mac Cleaner] | 1.28 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_006 | 3.35 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_005 | 4.37 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_about.py::TestBody::test_001[Video Converter] | 1.36 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_about.py::TestBody::test_001[PDF Compressor] | 1.34 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_013[find-duplicate-file] | 5.92 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_006 | 3.35 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_007 | 4.43 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_001[0] | 5.55 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_007 | 4.42 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_008 | 4.91 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_013[the-best-mac-file-shredder] | 6.71 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_001[1] | 2.72 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_008 | 4.88 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_009 | 4.33 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_001[2] | 3.02 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_013[securely-delete-files] | 4.96 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_001[3] | 1.48 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_002[4] | 1.05 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_009 | 4.36 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_010 | 4.49 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_002[5] | 2.74 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_browser_cleanup.py::TestBody::test_014 | 4.29 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_010 | 4.44 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_002[6] | 3.40 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_011 | 4.36 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_001 | 3.50 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_002[7] | 0.98 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_002 | 1.70 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_003[8] | 2.35 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_003 | 1.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_003[9] | 0.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_012 | 4.55 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_003[10] | 0.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_004 | 1.26 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_003[11] | 0.88 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_004[12] | 0.32 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_013[clean-up-macbook] | 4.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_004[13] | 2.79 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_005 | 4.37 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_004[14] | 1.79 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_011 | 12.16 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_004[15] | 1.72 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_006 | 3.33 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_013[find-duplicate-file] | 4.25 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_005[16] | 2.39 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_012 | 4.41 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_005[17] | 1.63 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_007 | 4.50 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_013[the-best-mac-file-shredder] | 4.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_005[18] | 1.86 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_005[19] | 1.66 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_013[clean-up-macbook] | 4.54 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_013[securely-delete-files] | 4.29 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_008 | 6.42 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_006[20] | 4.03 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_013[find-duplicate-file] | 4.75 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_mac_uninstaller.py::TestBody::test_014 | 4.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_001 | 1.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_duplicate_finder.py::TestBody::test_009 | 4.35 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_006[21] | 4.15 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_002 | 1.36 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_013[the-best-mac-file-shredder] | 4.91 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_006[22] | 2.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_007[25] | 3.13 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_007[26] | 0.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_006[23] | 1.30 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_ppm.py::TestBody::test_003 | 4.78 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_007[27] | 3.03 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_013[securely-delete-files] | 4.52 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[iMyMac PDF Compressor] | 2.05 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_007[24] | 4.03 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_008[28] | 2.24 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[Video Converter] | 1.79 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_008[29] | 1.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[Free Photo Compressor] | 1.57 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/powermymac_test_case/test_similar_image.py::TestBody::test_014 | 4.17 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_002 | 3.88 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_008[30] | 2.30 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_003 | 1.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[PowerMyMac] | 3.67 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_008[31] | 1.95 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_001[java] | 3.95 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_009[32] | 1.11 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_009[33] | 0.97 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[Mac Cleaner] | 3.12 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_009[34] | 1.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_001[python] | 3.34 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_009[35] | 0.66 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[File Shredder] | 2.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_010[About Us] | 1.80 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_001[imymac] | 3.20 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_010[Contact Us] | 1.58 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[Duplicate Finder] | 2.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_002[java] | 2.20 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_004[-æ¨éè¦è¾å ¥ä¸ä¸ªææé®ç®±ã] | 10.73 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_010[Terms of Use] | 1.57 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_010[Privacy Policy] | 1.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_002[python] | 2.29 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[Browser Cleanup] | 2.96 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_011[PowerMyMac] | 1.17 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_002[imymac] | 2.52 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[Similar Image Finder] | 2.98 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_011[Mac Cleaner] | 3.26 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/resource_test_case/test_resource.py::TestBody::test_003[Eraser] | 2.75 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_012[Support] | 1.63 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[Mac Uninstaller] | 3.00 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_004[m111-æ¨è¾å ¥çé®ç®±æ æã] | 8.41 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_012[Sales FAQ] | 2.09 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[iMyMac PDF Compressor] | 2.97 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_012[Refund Policy] | 1.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[PowerMyMac] | 2.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_014[Video Converter] | 3.16 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[Mac Cleaner] | 2.07 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_001 | 2.54 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[File Shredder] | 1.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_013[testnewpmm-0.0] | 11.40 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_002 | 2.18 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[Duplicate Finder] | 1.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_005[muzijian07king@163.com] | 11.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[Browser Cleanup] | 1.66 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_003 | 2.19 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[Similar Image Finder] | 1.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_004 | 2.35 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/sitemap_test_case/test_sitemap.py::TestBody::test_013[Mac Uninstaller] | 1.69 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_005 | 2.16 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_005[1325282680@qq.com] | 6.53 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_006 | 2.19 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_014[testnewpmm] | 10.05 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_007 | 1.19 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_008 | 1.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_009 | 2.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_005[lelee9895@gamil.com] | 7.10 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_buy_option.py::TestBody::test_010 | 3.25 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_001[buy0] | 2.11 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[--24--568-æ¨è¾å ¥çæéæä»½æ æã] | 15.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_001[buy1] | 2.25 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_015 | 11.70 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_006[1] | 7.79 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_006[2] | 8.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[--24---æ¨è¾å ¥çæéæä»½æ æã] | 12.87 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[12345-lin-2-2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 12.96 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_017[62284 80088 14184 8874-lin-2-2022-568-æ¬æ¬¡ä»æ¬¾è¢«æ¨çé¶è¡æç»ã请éè¯ï¼æä½¿ç¨å¦å¤çæ¯ä»æ¹å¼ãèç³»æ¨çé¶è¡ä»¥è·åè¿ä¸æ¥çä¿¡æ¯ã] | 16.51 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_006[3] | 7.95 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-----æ¨è¾å ¥çæéæä»½æ æã] | 12.09 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_006[5] | 7.45 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[12346--2-2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 13.75 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_018 | 10.57 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_006[10] | 7.81 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[:62122 62502 00918 2455-lin-12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 12.90 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_019 | 10.14 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_006[25] | 7.14 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[12347---2022-568-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 15.20 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_007[CN-China] | 5.20 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-lin-12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 12.90 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_007[TW-Taiwan] | 6.46 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_020 | 13.73 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[12348----569-æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 14.91 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_008 | 7.72 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[--12-1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 14.09 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_009 | 7.56 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[12349-----æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 15.75 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_010 | 7.18 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[---1000-568-æ¨è¾å ¥çæéå¹´ä»½æ æã] | 12.50 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_011[1111-æ¨éè¦è¾å ¥ä¸ä¸ªææä¼æ ç ã] | 10.22 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-----æ¨è¾å ¥çä¿¡ç¨å¡æ æã] | 17.14 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[---1000--æ¨è¾å ¥çæéå¹´ä»½æ æã] | 13.50 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_011[youhuima2021-æ¬ä¼æ å¸å·²è¢«ä½¿ç¨å¤ªå¤æ¬¡ã] | 10.04 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_012[-伿 ç ä¸è½ä¸ºç©ºã] | 8.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-----æ¨è¾å ¥çæéå¹´ä»½æ æã] | 12.43 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[:62122 62502 00918 2455-æ-2-2022-568-æ¨è¾å ¥çåç§°æ æã] | 15.21 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_023[25] | 7.44 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_022[muzijian07king@163.com] | 7.82 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_024[CN-China] | 5.59 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[:62122 62502 00918 2455-lin-2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 13.29 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_022[1325282680@qq.com] | 7.14 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-æ-2-2022-568-æ¨è¾å ¥çåç§°æ æã] | 14.70 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_024[TW-Taiwan] | 8.11 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-lin-2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 11.24 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_022[lelee9895@gamil.com] | 8.40 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_026 | 6.10 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-æ--2022-568-æ¨è¾å ¥çåç§°æ æã] | 14.72 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_027 | 6.43 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_023[1] | 9.23 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[--2-2022-56-æ¨è¾å ¥ç CVV æ æã] | 13.30 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_023[2] | 11.62 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-æ---568-æ¨è¾å ¥çåç§°æ æã] | 14.84 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[---2022-56-æ¨è¾å ¥ç CVV æ æã] | 12.41 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_023[3] | 9.56 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-æ----æ¨è¾å ¥çåç§°æ æã] | 15.52 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[----56-æ¨è¾å ¥ç CVV æ æã] | 12.48 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_023[5] | 9.34 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_023[10] | 8.95 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-----æ¨è¾å ¥ç CVV æ æã] | 12.61 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-----æ¨è¾å ¥çåç§°æ æã] | 16.03 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_017[62122 62502 00918 2455-lin-2-2022-568-æ¬æ¬¡ä»æ¬¾è¢«æ¨çé¶è¡æç»ã请éè¯ï¼æä½¿ç¨å¦å¤çæ¯ä»æ¹å¼ãèç³»æ¨çé¶è¡ä»¥è·åè¿ä¸æ¥çä¿¡æ¯ã] | 11.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[:62122 62502 00918 2455-lin-24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 13.81 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[-lin-24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 13.80 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_030[testnewpmm-0.0] | 8.88 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_031[testnewpmm] | 9.91 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_016[--24-2022-568-æ¨è¾å ¥çæéæä»½æ æã] | 16.09 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_032 | 8.67 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_035 | 11.72 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_036 | 9.36 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/store_test_case/test_store.py::TestBody::test_037 | 10.88 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_001 | 2.45 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_002 | 1.73 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_003 | 1.77 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_004 | 1.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_005 | 2.56 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_006 | 4.02 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_007 | 2.71 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_008 | 3.65 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_009[java] | 4.03 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_009[python] | 4.35 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_009[imymac] | 4.19 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_010[java] | 4.04 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_010[python] | 4.07 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_010[imymac] | 3.90 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_011[adggwgwdqw] | 4.23 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_012[adggwgwdqw] | 3.82 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_013 | 1.59 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_004[0] | 4.22 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_004[1] | 4.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_004[2] | 4.65 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_004[3] | 4.83 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_004[4] | 4.39 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[1] | 4.15 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/support_test_case/test_support.py::TestBody::test_014 | 0.07 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_001 | 2.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_002 | 1.49 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[2] | 4.34 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_003 | 3.12 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[3] | 4.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[6] | 4.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[4] | 4.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[7] | 4.36 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[5] | 4.38 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[8] | 4.35 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_006[mp3-to-midi] | 4.80 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_006[convert-flac-to-mp3] | 4.42 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_006[convert-wma-to-mp3] | 4.52 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_006[convert-webm-to-mp4] | 4.55 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_006[rotate-a-video] | 4.61 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_007 | 3.11 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_008 | 4.17 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_001 | 3.60 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_002 | 1.18 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_003 | 1.31 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_004 | 1.13 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_005[convert-m4a-to-mp3] | 4.22 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_005[mp3-to-midi] | 4.39 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_005[9] | 4.19 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_005[convert-wma-to-mp3] | 4.22 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_005[convert-flac-to-mp3] | 4.52 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_005[convert-webm-to-mp4] | 4.20 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_guide.py::TestBody::test_005[rotate-a-video] | 4.18 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_converter.py::TestBody::test_006[convert-m4a-to-mp3] | 5.97 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_002 | 1.80 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_003 | 2.22 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_001 | 2.50 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_005[convert-m4a-to-mp3] | 5.17 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_005[mp3-to-midi] | 4.68 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_005[convert-wma-to-mp3] | 6.74 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_005[convert-flac-to-mp3] | 6.80 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_005[convert-webm-to-mp4] | 7.07 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_005[rotate-a-video] | 8.99 | ||
|
通过的用例未捕获日志输出. | ||||
| Passed | TestCase/video_test_case/test_video_tech.py::TestBody::test_004 | 11.43 | ||
|
通过的用例未捕获日志输出. | ||||